﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAL;

namespace BLL
{
    public class LoadSourceFunc
    {
        public List<SourceEntity> LoadSourceByAll()
        {
            SourceService source = new SourceService();
            return source.LoadSourceByAll();
        }

        public List<SourceEntity> LoadSourceForDivide(DateTime startdate, DateTime enddate)
        {
            SourceService source = new SourceService();
            return source.LoadSourceForDivide(startdate, enddate);
        }
    }
}
